package edu.xust.mapper;

import edu.xust.entity.Xuesheng;
import edu.xust.entity.XueshengExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XueshengMapper {
    long countByExample(XueshengExample example);

    int deleteByExample(XueshengExample example);

    int deleteByPrimaryKey(Integer sno);

    int insert(Xuesheng record);

    int insertSelective(Xuesheng record);

    List<Xuesheng> selectByExample(XueshengExample example);

    Xuesheng selectByPrimaryKey(Integer sno);

    int updateByExampleSelective(@Param("record") Xuesheng record, @Param("example") XueshengExample example);

    int updateByExample(@Param("record") Xuesheng record, @Param("example") XueshengExample example);

    int updateByPrimaryKeySelective(Xuesheng record);

    int updateByPrimaryKey(Xuesheng record);

    Xuesheng selectByPrimaryKeyWithBanji(Integer sno);

    Xuesheng selectByPrimaryKeyWithBanjiAndCourse(Integer sno);

}